package com.chonor.mall.mapper;

import com.chonor.mall.model.CouponProduct;
import com.chonor.mall.model.CouponProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponProductMapper {
    long countByExample(CouponProductExample example);

    int deleteByExample(CouponProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CouponProduct record);

    int insertSelective(CouponProduct record);

    List<CouponProduct> selectByExample(CouponProductExample example);

    CouponProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CouponProduct record, @Param("example") CouponProductExample example);

    int updateByExample(@Param("record") CouponProduct record, @Param("example") CouponProductExample example);

    int updateByPrimaryKeySelective(CouponProduct record);

    int updateByPrimaryKey(CouponProduct record);
}